package com.travel.controller;


import com.travel.pojo.HotelFacilities;
import com.travel.service.HotelFacilitiesService;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * 酒店设施表(HotelFacilities)表控制层
 *
 * @author makejava
 * @since 2023-05-10 14:51:04
 */
@RestController
@RequestMapping("hotelFacilities")
public class HotelFacilitiesController {
    /**
     * 服务对象
     */
    @Resource
    private HotelFacilitiesService hotelFacilitiesService;

    @ApiOperation(value = "查找全部设施",notes = "查找全部设施")
    @GetMapping("/selectListOfFacilities")
    public List<HotelFacilities> selectListOfFacilities(){
        return hotelFacilitiesService.selectListOfFacilities();
    }

}

